package ss9999999999;

public class Student02 {
    String name;
    String className;
    int age;
    int stuId;
    Student02(){}
    Student02(String name,String className,int age,int stuId){
        this.name=name;
        this.className=className;
        this.age=age;
        this.stuId=stuId;
    }
    void say(){
        System.out.println("大家好，我是"+name);
    }
    void sayHello(){
        System.out.println("大家好，我是"+name+",今年"+age+"岁了");
    }
    void play(String player){
        System.out.println(name+"今天和"+player+"一起玩了");
    }
}
